<template>
    <div class="status-box">
      <div v-if="!isPay" class="not-pay-box">
        <div>
          <h5 >恭喜你已经成功登陆</h5>
          <router-link to="/user/package" class="renew">
          <div class="arrears-box">
            该帐号已欠费，是否马上续费？
            <span class="badge">!</span>
          </div>
            </router-link>
        </div>
      </div>
      <div v-else class="pay-box">
        <div>
          <h5 >恭喜你已经续费成功！</h5>
          <div class="arrears-box time-box">
            上网截止时间:
            <span class="time">2018/12/24  13：11：00</span>
          </div>
        </div>
      </div>
    </div>
</template>

<script>
    export default {
        name: "status",
      data: function() {
          return {
            isPay: false,
          }
      }
    }
</script>

<style scoped>
  .renew {
    text-decoration: none;

  }
  .renew:hover {
    text-decoration: underline;
  }
  .not-pay-box {
    background: url("../assets/images/not_pay.png") top no-repeat;
  }
  .pay-box {
    background: url("../assets/images/pay.png") top no-repeat;
  }
  .status-box>div>div {
    margin-left: 30px;
  }

  .status-box {
    width: 757px;
    height: 627px;
    float: left;
    margin-left: 12px;
    text-align: center;
    overflow: hidden;
  }
  .status-box>.not-pay-box,.status-box>.pay-box {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  .status-box h5 {
    font-size: 30px;
    color: #447ed9;
    margin-top: 145px;
  }
  .arrears-box {
    color: #d81e06;
    font-size: 14px;
    margin-top: 15px;
    cursor: pointer;
  }
  .time-box {
    color: #444444;
    font-size: 14px;
  }
  .time-box .time {
    color: #447ed9;
  }
  .badge {
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    color: #fff;
    border-radius: 50%;
    background-color: #ff9800;
  }
</style>
